package com.jjc.MyWebApp.Annotation;

import java.lang.annotation.*;

/**
 * Created by jiaji on 2017/5/11.
 */
@Inherited
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
public @interface Service {
    /**
     * 注解Service名称
     * @return
     */
    String value();

    /**
     * 注解是否开启事务
     * @return
     */
    boolean tx() default false;
}
